home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Armageddon - Interactive Preview
/
Interactive Preview: Armageddon.iso
/
pc
/
control.dxr
/
Scripts & Behaviors_26_EQ Behavior.ls
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1998-05-19
|
320 b
|
13 lines
property pThisSprite, pStartCast
on new me
set pThisSprite to the currentSpriteNum
set the member of sprite pThisSprite to "EQ1"
set pStartCast to the memberNum of sprite pThisSprite
end
on exitFrame me
set randomValue to random(6) - 1
set the memberNum of sprite pThisSprite to pStartCast + randomValue
end